#-------------------------------------------------
#
# Project created by QtCreator 2019-08-22T11:12:59
#
#-------------------------------------------------

include(../../../env.pri)
include($$PROJECT_ROOTDIR/libukcc/widgets/Label/label.pri)
include($$PROJECT_ROOTDIR/libukcc/widgets/CloseButton/closebutton.pri)
include($$PROJECT_ROOTDIR/libukcc/widgets/SettingWidget/settingwidget.pri)
include($$PROJECT_ROOTDIR/libukcc/interface.pri)

QT       += widgets
#greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
TEMPLATE = lib
CONFIG += plugin

TARGET = $$qtLibraryTarget(keyboard)
DESTDIR = ../..
target.path = $${PLUGIN_INSTALL_DIRS}

INCLUDEPATH   +=  \
                 $$PROJECT_ROOTDIR \

LIBS          +=  -L$$[QT_INSTALL_LIBS] -lgsettings-qt

CONFIG        += link_pkgconfig \
                 C++11
PKGCONFIG     += libmatekbd \
                 gsettings-qt \
                 kysdk-qtwidgets \
                 kysdk-diagnostics \


#DEFINES += QT_DEPRECATED_WARNINGS

SOURCES += \
    keyboardmain.cpp \
    keyboardui.cpp

HEADERS += \
    keyboardmain.h \
    keyboardui.h


INSTALLS += target
